package promotionsManage;



public class PromotionsManage_Driver {
	public void driver(PromotionsBLService promotionsBLService){
		boolean loginSucceed=false;
		loginSucceed=promotionsBLService.login("0001", "0001");
		if (loginSucceed) {
			System.out.println("Login succeed!\n");
			promotionsBLService.setDiscountCoupon(null);
			promotionsBLService.setEquivalentCoupon(null);
			promotionsBLService.setCredit(null);
		}
		else {
			System.out.println("you have no rights!\n");
		}
	}

	public static void main(String[] args) {
	
		PromotionsBLService p=new PromotionsManage_Stub();
		new PromotionsManage_Driver().driver(p);
	}

}
